Uses of Class
edu.uky.ai.csp.kr.Constraint
| Package | Description |
|---|---|
| edu.uky.ai.csp.kr |
Contains the knowledge representation for constraint satisfaction problems
that use simple binary equals and not equals constraints.
|
-
Uses of Constraint in edu.uky.ai.csp.kr
Subclasses of Constraint in edu.uky.ai.csp.kr Modifier and Type Class Description classEqualsConstraintConstrains two variables to have the same value.classNotEqualsConstraintConstrains two variables to have different values.Fields in edu.uky.ai.csp.kr with type parameters of type Constraint Modifier and Type Field Description java.lang.Iterable<Constraint>Problem. constraintsA set of all the constraints that a solution to this problem must meetMethods in edu.uky.ai.csp.kr with parameters of type Constraint Modifier and Type Method Description voidProblem. addConstraint(Constraint constraint)Adds a new constraint to the problem.booleanSolution. test(Constraint constraint, java.lang.Object left, java.lang.Object right)Given some constraint and two candidate values for the constraint's variables, this method checks if the constraint would be violated by those values.